package com.example.binderservice;

import android.content.Intent;
import android.os.Bundle;

import com.zy.activity.BaseMenuActivity;
import com.zy.activity.bean.BaseBean;
import com.zy.server.IPCMainActivity;

import java.util.List;

public class IPCServerMainActivity extends BaseMenuActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void init(List<BaseBean> list) {
        list.add(new BaseBean("服务"));
        list.add(new BaseBean("服务", 1));
    }

    @Override
    protected void clickItem(BaseBean bean) {
        if (bean.getCode() == 1) {
            startActivity(new Intent(this, IPCMainActivity.class));
        }
    }
}